package com.youlai.system.converter;

import com.youlai.system.model.entity.Permission;
import com.youlai.system.model.form.PermissionForm;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface PermissionConverter {
    Permission formEntity(PermissionForm formData);

    PermissionForm entityForm(Permission entity);
}
